{% extends 'blog/base.html'%}
{% block contentBlock %}
    <div class="container">
				<section class="post_content" itemscope itemtype="http://schema.org/Article">
					<header class="post_header">
						<h1 class="post_title">归档</h1>
					</header>
					<div class="post-Archive">
						<div id="archives">
                            {% load pagination_tags %}
                            {% autopaginate article_date_list 10 %}
                            {% for date,article_list in article_date_list %}
                            <div class='archive-title' id='arti-{{ date|date:'Y-m' }}'>
								<h3>{{ date|date:'Y-m' }}</h3>
								<div class='archives archives-3' data-date='{{ date|date:'Y-m' }}'>
                                    {% for article in article_list %}
                                    <div class="brick">
										<a href="{% url 'myblog:blog_detail' cid=article.id %}"><span class="time">{{ article.pub_date|date:'m-d' }}</span>{{ article.title }}</a>
									</div>
                                    {% endfor %}
								</div>
							</div>
                            {% endfor %}
                            {% paginate %}
						</div>
                    </div>
				</section>
				</div>
{% endblock %}
